import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:ost_flutter_module/class/store/shop_cart/bloc/shop_cart_bloc.dart';
import 'package:ost_flutter_module/class/store/shop_cart/store_shop_cart_bottom_navigaton_bar.dart';
import 'package:ost_flutter_module/class/store/shop_cart/store_shop_cart_list_page.dart';
import 'package:ost_flutter_module/common/styles.dart';
import 'package:ost_flutter_module/widget/custom_widget/custome_scaffold.dart';

class StoreShopCartPage extends StatefulWidget {
  StoreShopCartPage({Key key}) : super(key: key);

  @override
  _StoreShopCartPageState createState() => _StoreShopCartPageState();
}

class _StoreShopCartPageState extends State<StoreShopCartPage> {
  @override
  Widget build(BuildContext context) {
    return BlocProvider<ShopCartBloc>(
      create: (context) => ShopCartBloc()..add(ShopCartFetchData()),
      child: StoreShopCartPageBody(),
    );
  }
}
